home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
shoot_em_in.swf
/
scripts
/
DefineSprite_136
/
frame_103
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
384b
|
7 lines
lWindRotation = _parent._windAngle / 180 * 3.141592653589793;
lWindForce = _parent._windMax / 1000;
vXWind = - lWindForce * Math.sin(- lWindRotation);
vZWind = lWindForce * Math.cos(- lWindRotation);
_parent.mcWind.mcArrow._rotation = lWindRotation * 180 / 3.141592653589793;
_parent.mcWind.mcArrow.gotoAndStop(int(lWindForce * 1000 * _parent.mcWind.mcArrow._totalframes / 9));